package com.example.demo.mapper;

import com.example.demo.pojo.emp.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@Mapper

public interface DeptMapper {

    //查询dept表的全部信息
    List<Dept> list();

    //新增dept部门表的数据
    Boolean addDept(Dept dept);
}
